------------------------------------------------------------------------------------------------------------------
       log:  C:\Pat's work\research\working papers\CapCommitPeaceII\CCPIIreplicationlog.log
  log type:  text
 opened on:  13 Jan 2011, 10:32:27

. clear

. use "E:\Pat's work\working papers--work hard drive--May 24, 2009\publiccommitment\data\19492001dirdyadcommitment

. logit  wartargetb1970 wartargetbspl wartargetb1970sp1 wartargetb1970sp2 wartargetb1970sp3 lpublicb lpolity22 lde
> p2b cont4 lndistan lncapratio majpow2 s_un_glo ally if year<1998, cluster(dyadid)
variable wartargetb1970 not found
r(111);

. clear

. use "E:\Pat's work\working papers--work hard drive--May 24, 2009\publiccommitment\data\19492001dirdyadcommitment
> 2.dta", clear

. logit  wartargetb1970 wartargetbspl wartargetb1970sp1 wartargetb1970sp2 wartargetb1970sp3 lpublicb lpolity22 lde
> p2b cont4 lndistan lncapratio majpow2 s_un_glo ally if year<1998, cluster(dyadid)

Iteration 0:   log pseudo-likelihood = -93.720918
Iteration 1:   log pseudo-likelihood =  -73.12331
Iteration 2:   log pseudo-likelihood = -62.369465
Iteration 3:   log pseudo-likelihood = -57.141978
Iteration 4:   log pseudo-likelihood = -54.751531
Iteration 5:   log pseudo-likelihood = -53.633574
Iteration 6:   log pseudo-likelihood = -53.027039
Iteration 7:   log pseudo-likelihood = -52.592792
Iteration 8:   log pseudo-likelihood = -52.144993
Iteration 9:   log pseudo-likelihood = -51.732148
Iteration 10:  log pseudo-likelihood = -51.373049
Iteration 11:  log pseudo-likelihood = -51.125747
Iteration 12:  log pseudo-likelihood = -51.027759
Iteration 13:  log pseudo-likelihood = -51.012222
Iteration 14:  log pseudo-likelihood = -51.011728
Iteration 15:  log pseudo-likelihood = -51.011727

Logit estimates                                   Number of obs   =     360255
                                                  Wald chi2(12)   =     737.72
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -51.011727                Pseudo R2       =     0.4557

                           (standard errors adjusted for clustering on dyadid)
------------------------------------------------------------------------------
             |               Robust
wartarg~1970 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
wartargetb~l |    74.6007   35.70221     2.09   0.037     4.625649    144.5758
wartargetb~1 |   .4057555   .1902469     2.13   0.033     .0328785    .7786326
wartargetb~2 |  -.1824668   .0838097    -2.18   0.029    -.3467308   -.0182029
wartargetb~3 |   .0034787   .0015034     2.31   0.021     .0005321    .0064252
    lpublicb |   .0459701   .0111006     4.14   0.000     .0242133    .0677268
   lpolity22 |   .1172504   .0500184     2.34   0.019     .0192161    .2152847
      ldep2b |  -373.4857   329.8187    -1.13   0.257    -1019.918     272.947
       cont4 |   .6135102   1.189906     0.52   0.606    -1.718662    2.945682
    lndistan |  -1.123045   .2247981    -5.00   0.000    -1.563641   -.6824484
  lncapratio |  -.7088904   .4695837    -1.51   0.131    -1.629258    .2114768
     majpow2 |    3.88242    1.96592     1.97   0.048     .0292877    7.735552
    s_un_glo |  -7.057144   1.551826    -4.55   0.000    -10.09867   -4.015621
        ally |  -.7808827   1.399362    -0.56   0.577    -3.523583    1.961817
       _cons |  -560.2763   272.3133    -2.06   0.040    -1094.001    -26.5521
------------------------------------------------------------------------------

note: 121116 failures and 0 successes completely determined.

. logit  wartargetb1970 wartargetbspl wartargetb1970sp1 wartargetb1970sp2 wartargetb1970sp3  lpublica lpublicb  lp
> olity21 lpolity22 ldep2a ldep2b cont4 lndistan lncapratio majpow1 majpow2 s_un_glo ally if year<1998, cluster(dy
> adid)

note: majpow1 != 0 predicts failure perfectly
      majpow1 dropped and 8486 obs not used

Iteration 0:   log pseudo-likelihood = -68.787499
Iteration 1:   log pseudo-likelihood = -52.933803
Iteration 2:   log pseudo-likelihood = -45.690654
Iteration 3:   log pseudo-likelihood = -42.160974
Iteration 4:   log pseudo-likelihood = -40.432486
Iteration 5:   log pseudo-likelihood = -39.305682
Iteration 6:   log pseudo-likelihood = -38.587981
Iteration 7:   log pseudo-likelihood = -38.087918
Iteration 8:   log pseudo-likelihood = -37.604568
Iteration 9:   log pseudo-likelihood =  -37.17309
Iteration 10:  log pseudo-likelihood = -36.851055
Iteration 11:  log pseudo-likelihood = -36.709165
Iteration 12:  log pseudo-likelihood = -36.680872
Iteration 13:  log pseudo-likelihood = -36.679379
Iteration 14:  log pseudo-likelihood = -36.679374

Logit estimates                                   Number of obs   =     210314
                                                  Wald chi2(15)   =          .
                                                  Prob > chi2     =          .
Log pseudo-likelihood = -36.679374                Pseudo R2       =     0.4668

                           (standard errors adjusted for clustering on dyadid)
------------------------------------------------------------------------------
             |               Robust
wartarg~1970 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
wartargetb~l |   88.36033   35.36909     2.50   0.012     19.03819    157.6825
wartargetb~1 |   .4815969   .1880544     2.56   0.010      .113017    .8501767
wartargetb~2 |  -.2170726   .0828493    -2.62   0.009    -.3794542    -.054691
wartargetb~3 |    .004493   .0017161     2.62   0.009     .0011296    .0078564
    lpublica |   .0137182   .0155518     0.88   0.378    -.0167627    .0441992
    lpublicb |   .0277735    .009868     2.81   0.005     .0084325    .0471144
   lpolity21 |   .0268845    .066753     0.40   0.687     -.103949     .157718
   lpolity22 |    .085523   .0443052     1.93   0.054    -.0013135    .1723596
      ldep2a |  -521.5717     186.54    -2.80   0.005    -887.1834   -155.9601
      ldep2b |  -7.375074   53.40632    -0.14   0.890    -112.0495     97.2994
       cont4 |   3.949822   1.339749     2.95   0.003     1.323963    6.575682
    lndistan |  -.7460827   .2501258    -2.98   0.003     -1.23632   -.2558451
  lncapratio |  -.6243482   .2460882    -2.54   0.011    -1.106672   -.1420242
     majpow2 |   7.105546    .975641     7.28   0.000     5.193324    9.017767
    s_un_glo |   -8.30819    2.27548    -3.65   0.000    -12.76805   -3.848331
        ally |    .033168   1.820505     0.02   0.985    -3.534956    3.601292
       _cons |  -665.4098   272.3212    -2.44   0.015     -1199.15     -131.67
------------------------------------------------------------------------------

note: 68025 failures and 0 successes completely determined.

. logit  wartargetb1970 wartargetbspl wartargetb1970sp1 wartargetb1970sp2 wartargetb1970sp3  lpublicopecsocb lpoli
> ty22  cont4 lndistan lncapratio majpow2 s_un_glo ally if year<1998, cluster(dyadid)

Iteration 0:   log pseudo-likelihood = -129.32839
Iteration 1:   log pseudo-likelihood =  -100.1477
Iteration 2:   log pseudo-likelihood = -89.660785
Iteration 3:   log pseudo-likelihood = -85.576633
Iteration 4:   log pseudo-likelihood = -84.408966
Iteration 5:   log pseudo-likelihood = -84.226533
Iteration 6:   log pseudo-likelihood = -84.216175
Iteration 7:   log pseudo-likelihood = -84.216083
Iteration 8:   log pseudo-likelihood = -84.216083

Logit estimates                                   Number of obs   =     516604
                                                  Wald chi2(12)   =     660.53
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -84.216083                Pseudo R2       =     0.3488

                           (standard errors adjusted for clustering on dyadid)
------------------------------------------------------------------------------
             |               Robust
wartarg~1970 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
wartargetb~l |   .8365582   .4306169     1.94   0.052    -.0074354    1.680552
wartargetb~1 |   .0060272   .0031025     1.94   0.052    -.0000536     .012108
wartargetb~2 |  -.0039122   .0022502    -1.74   0.082    -.0083224    .0004981
wartargetb~3 |   .0011688   .0009542     1.22   0.221    -.0007013    .0030389
lpublicop~cb |   .0464622   .0152447     3.05   0.002     .0165831    .0763413
   lpolity22 |   .0970163   .0563437     1.72   0.085    -.0134152    .2074479
       cont4 |   1.868399   .2972795     6.28   0.000     1.285742    2.451056
    lndistan |  -.7349977   .1636835    -4.49   0.000    -1.055812   -.4141839
  lncapratio |  -.3336057   .3057641    -1.09   0.275    -.9328923    .2656809
     majpow2 |   .6708367   1.345654     0.50   0.618    -1.966597     3.30827
    s_un_glo |   -3.91004   2.347399    -1.67   0.096    -8.510858    .6907786
        ally |  -1.096553   .9736289    -1.13   0.260    -3.004831    .8117243
       _cons |  -10.10703   2.468143    -4.09   0.000    -14.94451   -5.269563
------------------------------------------------------------------------------

note: 25496 failures and 0 successes completely determined.

. logit  wartargetb1970 wartargetbspl wartargetb1970sp1 wartargetb1970sp2 wartargetb1970sp3  lpublicopecsoca lpubl
> icopecsocb lpolity21 lpolity22 cont4 lndistan lncapratio majpow1 majpow2 s_un_glo ally if year<1998, cluster(dya
> did)

Iteration 0:   log pseudo-likelihood = -114.53494
Iteration 1:   log pseudo-likelihood = -88.520221
Iteration 2:   log pseudo-likelihood = -79.365144
Iteration 3:   log pseudo-likelihood = -76.040612
Iteration 4:   log pseudo-likelihood = -75.181679
Iteration 5:   log pseudo-likelihood = -75.077628
Iteration 6:   log pseudo-likelihood = -75.074637
Iteration 7:   log pseudo-likelihood = -75.074632

Logit estimates                                   Number of obs   =     346658
                                                  Wald chi2(15)   =     657.31
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -75.074632                Pseudo R2       =     0.3445

                           (standard errors adjusted for clustering on dyadid)
------------------------------------------------------------------------------
             |               Robust
wartarg~1970 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
wartargetb~l |   .8887579   .5164711     1.72   0.085    -.1235068    1.901023
wartargetb~1 |   .0067035   .0035373     1.90   0.058    -.0002295    .0136365
wartargetb~2 |  -.0042817    .002405    -1.78   0.075    -.0089954    .0004319
wartargetb~3 |   .0011642   .0009717     1.20   0.231    -.0007403    .0030687
lpublicop~ca |   .0081521   .0146475     0.56   0.578    -.0205565    .0368608
lpublicop~cb |   .0426224   .0148526     2.87   0.004     .0135118     .071733
   lpolity21 |  -.0318654   .0576234    -0.55   0.580    -.1448051    .0810744
   lpolity22 |   .0757776    .053605     1.41   0.157    -.0292863    .1808414
       cont4 |   1.587884   .3967491     4.00   0.000     .8102704    2.365498
    lndistan |  -.7298812   .1692348    -4.31   0.000    -1.061575   -.3981871
  lncapratio |  -.3033791   .2296613    -1.32   0.187    -.7535069    .1467488
     majpow1 |   1.152312   1.361872     0.85   0.397    -1.516908    3.821531
     majpow2 |   .3796409   1.800188     0.21   0.833    -3.148663    3.907945
    s_un_glo |   -4.07755   2.727078    -1.50   0.135    -9.422524    1.267424
        ally |  -1.157764   1.137775    -1.02   0.309    -3.387763    1.072234
       _cons |  -9.931315   2.661746    -3.73   0.000    -15.14824   -4.714389
------------------------------------------------------------------------------

note: 7086 failures and 0 successes completely determined.

. log close
       log:  C:\Pat's work\research\working papers\CapCommitPeaceII\CCPIIreplicationlog.log
  log type:  text
 closed on:  13 Jan 2011, 10:41:31
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
       log:  C:\Pat's work\research\working papers\CapCommitPeaceII\CCPIIreplicationlog.log
  log type:  text
 opened on:  13 Jan 2011, 10:49:45

. use "C:\Pat's work\research\data\monadic\monad19702001.dta", clear

. logit  wartarget wartargetspl wartargetsp1 wartargetsp2 wartargetsp3  lnontaxrev2  majpow total lopen5661 lpolity42, c
> luster (ccode)

Iteration 0:   log pseudo-likelihood = -54.800357
Iteration 1:   log pseudo-likelihood = -50.398507
Iteration 2:   log pseudo-likelihood = -46.903032
Iteration 3:   log pseudo-likelihood = -46.260551
Iteration 4:   log pseudo-likelihood = -46.166544
Iteration 5:   log pseudo-likelihood =  -46.15059
Iteration 6:   log pseudo-likelihood = -46.149413
Iteration 7:   log pseudo-likelihood = -46.149405

Logit estimates                                   Number of obs   =       2782
                                                  Wald chi2(9)    =     290.61
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -46.149405                Pseudo R2       =     0.1579

                            (standard errors adjusted for clustering on ccode)
------------------------------------------------------------------------------
             |               Robust
   wartarget |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
wartargetspl |   .3987347   .4437907     0.90   0.369     -.471079    1.268548
wartargetsp1 |   .0046438   .0090953     0.51   0.610    -.0131826    .0224703
wartargetsp2 |  -.0029054   .0101075    -0.29   0.774    -.0227157     .016905
wartargetsp3 |   .0011815   .0065152     0.18   0.856    -.0115882    .0139511
 lnontaxrev2 |   .0488232   .0140691     3.47   0.001     .0212482    .0763981
      majpow |    1.10972   1.218252     0.91   0.362    -1.278009    3.497449
       total |   .1124724   .0694208     1.62   0.105    -.0235898    .2485347
   lopen5661 |  -.0089517   .0048823    -1.83   0.067    -.0185209    .0006175
   lpolity42 |   .0297575   .0659565     0.45   0.652    -.0995149    .1590299
       _cons |   -8.51637   1.988012    -4.28   0.000     -12.4128   -4.619938
------------------------------------------------------------------------------

. logit  wartarget wartargetspl wartargetsp1 wartargetsp2 wartargetsp3  lnontaxrev2  majpow total lopen5661 lpolity42 if
>  year<1998, cluster (ccode)

Iteration 0:   log pseudo-likelihood =  -53.82129
Iteration 1:   log pseudo-likelihood = -49.107579
Iteration 2:   log pseudo-likelihood = -46.235686
Iteration 3:   log pseudo-likelihood = -45.774977
Iteration 4:   log pseudo-likelihood = -45.732343
Iteration 5:   log pseudo-likelihood = -45.730065
Iteration 6:   log pseudo-likelihood = -45.730047
Iteration 7:   log pseudo-likelihood = -45.730047

Logit estimates                                   Number of obs   =       2462
                                                  Wald chi2(9)    =     227.33
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -45.730047                Pseudo R2       =     0.1503

                            (standard errors adjusted for clustering on ccode)
------------------------------------------------------------------------------
             |               Robust
   wartarget |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
wartargetspl |   .4450048   .4607561     0.97   0.334    -.4580606     1.34807
wartargetsp1 |   .0051865   .0093566     0.55   0.579    -.0131521    .0235251
wartargetsp2 |  -.0031352   .0106103    -0.30   0.768     -.023931    .0176606
wartargetsp3 |   .0010619   .0071122     0.15   0.881    -.0128776    .0150015
 lnontaxrev2 |   .0490937   .0144684     3.39   0.001     .0207361    .0774513
      majpow |   1.122716   1.183686     0.95   0.343    -1.197265    3.442698
       total |   .1206427   .0663079     1.82   0.069    -.0093184    .2506038
   lopen5661 |  -.0085915   .0050595    -1.70   0.089     -.018508     .001325
   lpolity42 |    .034118   .0656574     0.52   0.603    -.0945681    .1628042
       _cons |  -8.766423   2.065266    -4.24   0.000    -12.81427   -4.718575
------------------------------------------------------------------------------

. logit  wartarget wartargetspl wartargetsp1 wartargetsp2 wartargetsp3  lpublicopecsoc2 majpow total  lpolity42 if year<
> 1998, cluster (ccode)

Iteration 0:   log pseudo-likelihood = -78.412518
Iteration 1:   log pseudo-likelihood = -73.256338
Iteration 2:   log pseudo-likelihood = -71.939556
Iteration 3:   log pseudo-likelihood = -71.704228
Iteration 4:   log pseudo-likelihood = -71.672015
Iteration 5:   log pseudo-likelihood = -71.669883
Iteration 6:   log pseudo-likelihood = -71.669867
Iteration 7:   log pseudo-likelihood = -71.669867

Logit estimates                                   Number of obs   =       3045
                                                  Wald chi2(8)    =     124.72
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -71.669867                Pseudo R2       =     0.0860

                            (standard errors adjusted for clustering on ccode)
------------------------------------------------------------------------------
             |               Robust
   wartarget |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
wartargetspl |   .2592303   .4323238     0.60   0.549    -.5881089    1.106569
wartargetsp1 |   .0036446   .0084004     0.43   0.664      -.01282    .0201092
wartargetsp2 |  -.0019752   .0095315    -0.21   0.836    -.0206565    .0167061
wartargetsp3 |   .0004562   .0066101     0.07   0.945    -.0124994    .0134118
lpublicope~2 |   .0294381   .0108181     2.72   0.007     .0082349    .0506413
      majpow |   .3324637   1.269213     0.26   0.793    -2.155148    2.820076
       total |   .0661896   .0637378     1.04   0.299    -.0587341    .1911134
   lpolity42 |   .0284869   .0402027     0.71   0.479    -.0503089    .1072828
       _cons |  -7.043939   1.868936    -3.77   0.000    -10.70699   -3.380891
------------------------------------------------------------------------------

. logit midtarget  midtargetspl midtargetsp1 midtargetsp2 midtargetsp3 total lopen5661 lpolity42 majpow lnontaxrev2, clu
> ster(ccode)

Iteration 0:   log pseudo-likelihood = -1340.1449
Iteration 1:   log pseudo-likelihood = -1199.4554
Iteration 2:   log pseudo-likelihood = -1184.1337
Iteration 3:   log pseudo-likelihood = -1183.7476
Iteration 4:   log pseudo-likelihood = -1183.7468
Iteration 5:   log pseudo-likelihood = -1183.7468

Logit estimates                                   Number of obs   =       2782
                                                  Wald chi2(9)    =     208.85
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -1183.7468                Pseudo R2       =     0.1167

                            (standard errors adjusted for clustering on ccode)
------------------------------------------------------------------------------
             |               Robust
   midtarget |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
midtargetspl |  -.3094492   .1368904    -2.26   0.024    -.5777494    -.041149
midtargetsp1 |   .0055513   .0282442     0.20   0.844    -.0498062    .0609088
midtargetsp2 |  -.0076066   .0100802    -0.75   0.450    -.0273634    .0121501
midtargetsp3 |   .0029002   .0016315     1.78   0.075    -.0002974    .0060978
       total |   .0488824   .0231044     2.12   0.034     .0035986    .0941663
   lopen5661 |  -.0041356   .0016228    -2.55   0.011    -.0073161    -.000955
   lpolity42 |    .000173   .0088578     0.02   0.984    -.0171879    .0175339
      majpow |   1.160373   .4941815     2.35   0.019     .1917947    2.128951
 lnontaxrev2 |   .0117372   .0036182     3.24   0.001     .0046458    .0188287
       _cons |  -.9745247   .2715165    -3.59   0.000    -1.506687   -.4423621
------------------------------------------------------------------------------

. logit midtarget  midtargetspl midtargetsp1 midtargetsp2 midtargetsp3 total  lpolity42 majpow  lpublicopecsoc, cluster(
> ccode)

Iteration 0:   log pseudo-likelihood = -1679.0734
Iteration 1:   log pseudo-likelihood = -1510.3256
Iteration 2:   log pseudo-likelihood = -1493.3604
Iteration 3:   log pseudo-likelihood = -1492.9079
Iteration 4:   log pseudo-likelihood = -1492.9069
Iteration 5:   log pseudo-likelihood = -1492.9069

Logit estimates                                   Number of obs   =       3427
                                                  Wald chi2(8)    =     225.61
                                                  Prob > chi2     =     0.0000
Log pseudo-likelihood = -1492.9069                Pseudo R2       =     0.1109

                            (standard errors adjusted for clustering on ccode)
------------------------------------------------------------------------------
             |               Robust
   midtarget |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
midtargetspl |  -.4221983   .1197203    -3.53   0.000    -.6568458   -.1875508
midtargetsp1 |  -.0167519   .0249229    -0.67   0.501    -.0655998    .0320961
midtargetsp2 |  -.0004108   .0089373    -0.05   0.963    -.0179276    .0171059
midtargetsp3 |    .002172    .001471     1.48   0.140     -.000711    .0050551
       total |   .0565321    .022096     2.56   0.011     .0132247    .0998394
   lpolity42 |   .0043544   .0082104     0.53   0.596    -.0117376    .0204465
      majpow |   1.119723   .4468357     2.51   0.012     .2439412    1.995505
lpublicope~c |   .0065651   .0031627     2.08   0.038     .0003663    .0127639
       _cons |  -1.182807   .2159351    -5.48   0.000    -1.606032   -.7595819
------------------------------------------------------------------------------

. log close
       log:  C:\Pat's work\research\working papers\CapCommitPeaceII\CCPIIreplicationlog.log
  log type:  text
 closed on:  13 Jan 2011, 11:08:00
------------------------------------------------------------------------------------------------------------------------
